package org.xlh.ssm.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.xlh.ssm.bean.Vip;
import org.xlh.ssm.repository.VipMapper;
import org.xlh.ssm.service.VipService;

@Service
public class VipServiceImpl implements VipService {

    @Autowired
    private VipMapper vipMapper;


    @Override
    public Vip findByCardNumber(String cardNumber) {

        return vipMapper.selectByCardNumber(cardNumber);

    }
}
